import request from '@/utils/request'


// 查询数据
export function searchHealthTalk(data) {
    console.log(data, "<<<=== data 查询传过来的数据");
    return request({
        url: "/pk-its/sp/healthspeech/list",
        method: "get",
        params: data
    })
}

// 新增数据
export function addNewHealthTalk(data) {
    console.log(data, "<<<=== data 查询传过来的数据");
    return request({
        url: "/pk-its/sp/healthspeech/save",
        method: "post",
        data,
    })
}

// 修改数据
export function editHealthTalk(data) {
    console.log(data, "<<<=== data 修改数据请求");
    return request({
        url: "/pk-its/sp/healthspeech/update",
        method: "post",
        data

    })
}